package com.example.icongyou.api;

import com.example.icongyou.bean.PersonalDashboardBean;
import com.example.icongyou.bean.CourseProgressBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

public interface PersonalDashboardApi {
    /**
     * 获取个人数据看板
     * @param studentId 学生ID
     */
    @GET("/api/dashboard/personal/{studentId}")
    Call<PersonalDashboardBean> getPersonalDashboard(@Path("studentId") Long studentId);

    /**
     * 获取个人课程进度
     * @param studentId 学生ID
     * @param courseId 课程ID
     */
    @GET("/api/dashboard/personal/{studentId}/course/{courseId}")
    Call<CourseProgressBean> getCourseProgress(
            @Path("studentId") String studentId,
            @Path("courseId") String courseId
    );
}